package com.suray.wcs.service.pojo;

import com.suray.basic.wcs.path.enums.NodeType;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cooper
 * @since 2019-06-26
 */
@Data
public class NodeInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer nodeId;
    private Integer gridx;
    private Integer gridy;
    private Integer gridz;
    private String gridStatus;
    private NodeType gridType;
    private Integer offsetx;
    private String groundCode;
    private Integer offsety;
    private Boolean canToUp;
    private Boolean canToLeft;
    private Boolean canToDown;
    private Boolean canToRight;
    private String gridId;
    private Boolean canToStop;
    private String roadType;
    private String roadNo;
    private Boolean locked;
    private Object lockedBy;
    private Integer limitRgvCount;
    private Integer lockTime;
    private Integer passTime;
    private Integer currentPassTime;
    private Long unLockTime;

    /**
     * 巷道跑码状态
     */
    private Integer runUpForGroundCodeStatus;

    /**
     * 坡道跑码状态
     */
    private Integer runDownForGroundCodeStatus;

    /**
     * 坡道跑码状态
     */
    private Integer runLeftForGroundCodeStatus;

    /**
     * 坡道跑码状态
     */
    private Integer runRightForGroundCodeStatus;

    /**
     * 校准时间（单位ms）
     */
    private Integer upCalibrationTime;

    /**
     * 校准时间（单位ms）
     */
    private Integer downCalibrationTime;

    /**
     * 校准时间（单位ms）
     */
    private Integer leftCalibrationTime;

    /**
     * 校准时间（单位ms）
     */
    private Integer rightCalibrationTime;

    /**
     * 0:未检测，1:全部检测完成且通过，2:检测部分或全部失败，3:未全部检测，检测部分通过
     */
    private Integer runForGCodeStatus;

    /**
     * 0:未检测，1:全部检测完成且通过，2:检测部分或全部失败，3:未全部检测，检测部分通过
     */
    private Integer calibrationTimeStatus;
    private Integer direction;
    private String rgvPoint;
    private Integer tag;
    private String forbidRgvs;
    private Boolean deviceLocked;
    private Object deviceLockedBy;
}
